package com.ossjk.qlh.business.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ossjk.core.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 *  
 * 套餐
 * @author parker
 * @since 2020-08-12
 */
@ApiModel(value = "套餐")
@TableName("setmeal")
public class Setmeal extends BaseEntity<Setmeal> {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@ApiModelProperty(value = "主键", required = true)
	@TableId("id")
	private String id;

	@ApiModelProperty(value = "企业id", required = true)
	@TableId("eid")
	private String eid;

	public String getEid() {
		return eid;
	}

	public void setEid(String eid) {
		this.eid = eid;
	}

	@ApiModelProperty(value = "套餐编号", required = true)
	@TableId("sno")
	private String sno;

	public String getSno() {
		return sno;
	}

	public void setSno(String sno) {
		this.sno = sno;
	}

	/**
	 * 标题
	 */
	@ApiModelProperty(value = "标题")
	@TableField("title")
	private String title;
	/**
	 * 名称
	 */
	@ApiModelProperty(value = "名称")
	@TableField("name")
	private String name;
	/**
	 * 菜品表达式{}
	 */
	@ApiModelProperty(value = "菜品表达式{}")
	@TableField("expression")
	private String expression;
	/**
	 * 描述
	 */
	@ApiModelProperty(value = "描述")
	@TableField("description")
	private String description;
	/**
	 * 价钱
	 */
	@ApiModelProperty(value = "价钱")
	@TableField("price")
	private BigDecimal price;
	/**
	 * 图片
	 */
	@ApiModelProperty(value = "图片")
	@TableField("pic")
	private String pic;
	/**
	 * 是否辣 1-是、2-否
	 */
	@ApiModelProperty(value = "是否辣 1-是、2-否")
	@TableField("isspicy")
	private Integer isspicy;
	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	@TableField("remark")
	private String remark;
	/**
	 * 状态
	 */
	@ApiModelProperty(value = "状态")
	@TableField("state")
	private Integer state;

	@ApiModelProperty(value = "主菜")
	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public String  getId() {
		return id;
	}
	public void  setId(String id) {
		this.id = id;
	}
	public String  getTitle() {
		return title;
	}
	public void  setTitle(String title) {
		this.title = title;
	}
	public String  getName() {
		return name;
	}
	public void  setName(String name) {
		this.name = name;
	}
	public String  getExpression() {
		return expression;
	}
	public void  setExpression(String expression) {
		this.expression = expression;
	}
	public String  getDescription() {
		return description;
	}
	public void  setDescription(String description) {
		this.description = description;
	}
	public BigDecimal  getPrice() {
		return price;
	}
	public void  setPrice(BigDecimal price) {
		this.price = price;
	}
	public String  getPic() {
		return pic;
	}
	public void  setPic(String pic) {
		this.pic = pic;
	}
	public Integer  getIsspicy() {
		return isspicy;
	}
	public void  setIsspicy(Integer isspicy) {
		this.isspicy = isspicy;
	}
	public String  getRemark() {
		return remark;
	}
	public void  setRemark(String remark) {
		this.remark = remark;
	}
	public Integer  getState() {
		return state;
	}
	public void  setState(Integer state) {
		this.state = state;
	}
	 
	 
	@Override
	protected Serializable pkVal() {
		return null;
	}


	@Override
	public String toString() {
		return "Setmeal{" +
				"id='" + id + '\'' +
				", sno='" + sno + '\'' +
				", title='" + title + '\'' +
				", name='" + name + '\'' +
				", expression='" + expression + '\'' +
				", description='" + description + '\'' +
				", price=" + price +
				", pic='" + pic + '\'' +
				", isspicy=" + isspicy +
				", remark='" + remark + '\'' +
				", state=" + state +
				'}';
	}
}
